package com.chixing.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("hello")
public class HelloController {


    //url:http://localhost:8080/kfc/hello/index
    @RequestMapping("index")
    public String hello(){
        return "hello,KFC";
    }

}



